import {setServer} from "@/utils/axios";
import {deviceUrl} from "../../../url";

const request = setServer(deviceUrl);

// 查询下载记录
export function getMonitorDownload(query) {
  return request({
    url: '/monitor/download/list-keyword',
    method: 'get',
    params: query
  })
}

// 删
export function deleteMonitorDownload(id) {
  return request({
    url: '/monitor/download/'+id,
    method: 'delete',
  })
}


